Computes the projection of vector x onto vector y. The scalar projection is defined such that .
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The vector to project. |
|
| real(kind=real64), | intent(in), | dimension(size(x)) | :: | y |
The vector onto which x should be projected. |
The scalar projection of x onto y.